package cn.vcjf.washcar.api.service.entity;

import cn.vcjf.washcar.common.web.PageModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 汽车品牌表
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-20
 */
@TableName("car_brand")
public class CarBrand extends PageModel {

    private static final long serialVersionUID = 1L;

    /**
     * 汽车品牌表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 品牌前缀
     */
    private String prefix;

    /**
     * 汽车品牌
     */
    private String carBrand;

    /**
     * 品牌图标
     */
    private String logo;

    /**
     * 汽车类型
     */
    private Integer level;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
    public String getCarBrand() {
        return carBrand;
    }

    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand;
    }
    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "CarBrand{" +
        "id=" + id +
        ", prefix=" + prefix +
        ", carBrand=" + carBrand +
        ", logo=" + logo +
        ", level=" + level +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        ", deleteFlag=" + deleteFlag +
        "}";
    }
}
